package com.hospital.post.feign;

import com.hospital.common.base.Result;
import com.hospital.common.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "upload-module",configuration = FeignConfig.class)
public interface HospitalFeign
{
    @DeleteMapping("/minio/deleteFile")
    Result deleteFile(@RequestParam("fileName") String fileName);

}
